<h1>留言 <%= h @event.title %></h1>

<%= render :partial => "/shared/upload_photo" %>

<% form_for :comment, :url => event_comments_path(:event_id => @event.id) do |f| -%>
  <%= render :partial => "form", :object => f %>
  <p><%= submit_tag "写完了，贴上去" %></p>
<% end -%>